package com.itheima.user.mapper;


import com.itheima.user.pojo.User;
import tk.mybatis.mapper.common.Mapper;

//这块要加注解，虽然你在启动类那边加了@MapperScan("com.itheima.user.mapper.UserMapper")扫描，
//springboot不会因为你这个注解而去创建这个UserMpper的代理对象，它只会去寻找带有Mapper注解的类进行实例化
public interface UserMapper extends Mapper <User>{
}
